package cn.com.haopy.dataes.mongodb.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document("student")
public class Student {
    @Id
    private Integer id ;
    private String name;
    private String sex;
    private String age;
}